package com.tianji.learning.service;

import com.tianji.common.domain.dto.PageDTO;
import com.tianji.learning.domain.dto.NoteFormDTO;
import com.tianji.learning.domain.po.LearningNote;
import com.tianji.learning.domain.query.NotePageQuery;
import com.tianji.learning.domain.vo.NoteVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 学习笔记表 服务类
 * </p>
 *
 * @author 虎哥
 * @since 2025-11-08
 */
public interface ILearningNoteService extends IService<LearningNote> {

    /**
     * 保存学习笔记
     * @param noteDTO 笔记表单数据
     */
    void saveNote(NoteFormDTO noteDTO);

    PageDTO<NoteVO> queryAllNotePage(NotePageQuery query);

}